﻿*{
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	margin: 0;
	padding: 0;
}

::selection{
	color: black;
	background: green;
}

::-moz-selection{
	color: black;
	background: green;
}

a{
	text-decoration: none;
	color: white;
}

p{
	text-indent: 40px;/*свойства на красную строку*/
}

body{
	margin: 0;
	padding: 0;
	background: url(../Images/p5.png);
}

.delete_scroll{
	margin: 0 360px;
	overflow: hidden;
	box-shadow: 0px 8px 14px rgba(50, 50, 50, 0.75);
}

/*---------------------------------------------slaider------------------------------------*/
.rslides{
	position: relative;
	width: 100%;
	min-width: 1024px;
	margin: 0 auto;
	list-style: none;
	padding: 0;
	overflow: hidden;
}

.rslides img {
	width: 100%;
	overflow: hidden;
	vertical-align: bottom;
}

/*-------------------------------menu----------------------------------------*/
.menu ul{
	padding: 0;
	margin: 0;
}

.menu{
	font-family: Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 5px;
	font-size: 14px;
	position: fixed;
	height: 32px;
	width: 100%;
	z-index: 20;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
}

.menu li{
	display: inline-block;
	vertical-align: top;
	color: white;
	background: black;
	opacity: .9;
	height: 32px;
	width: 20%;
	text-align: center;
	float: left;
	padding: 7px;	
	text-shadow: 2px 1px 3px rgba(0, 0, 0, 0.85);
}

.menu li:hover{
	color: white;
	border-bottom: 5px solid rgb(232, 235, 46);
	box-shadow: 0px 8px 20px -11px rgba(232, 235, 46, 1);
}

.menu .active-page{
	color: white;
	border-bottom: 5px solid rgb(232, 235, 46);
	box-shadow: 0px 8px 20px -11px rgba(232, 235, 46, 1);
}

.menu a{
	text-decoration: none;
	color: black;
}

/*--------------------------content---------------------------------*/
.content-peresvet{
	position: relative;
	top: 32px;
	background: rgb(233,233,233);
	min-width: 1024px;
	width: 100%;
	background-image: url(../Images/diamond_upholstery.png);
}

.news{
	padding: 16px 10px;
	color: black;
	border-bottom: 2px ridge white;
	text-align: justify;
	height: 250px;
	overflow: hidden;
	font: 14px Arial, sans-serif;
	letter-spacing: 2px;
}

.news h3{
	font: 14px Arial, sans-serif;
	color: rgb(0,0,0);
	text-transform: uppercase;
	letter-spacing: 5px;
	text-shadow: 2px 1px 3px rgba(150, 150,150, 1);
}

#odd h3{
	padding: 0;
	margin: 0;
	text-align: right;
}

#even h3{
	padding: 0;
	margin: 0;
	text-align: left;
}

.info-news-proba{
	top: 35px;
	height: 200px;
	padding: 10px;
	font: 14px Arial, sans-serif;
	letter-spacing: 2px;
	color: black;

}

#odd .info-news-proba,
#even .info-news-proba,
.info-news-proba:after,
.info-news-proba:before{
	visibility: hidden;
	opacity: 0;
	border-radius: 5px;
	position: absolute;
	transition: all .1s ease-in;
	-webkit-transition:  all .1s ease-in;
	-moz-transition:  all .1s ease-in;
	-o-transition:  all .1s ease-in;

	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#even .info-news-proba{
	box-shadow: inset -2px 2px 6px rgba(50,50,50,.5);
}

#odd .info-news-proba{
	box-shadow: inset 2px 2px 6px rgba(50,50,50,.5);
}

#odd img{
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-o-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	border: 2px solid white;
	box-shadow: 0 8px 14px rgba(50,50,50,.75);
	width: 300px;
	height: 200px;
	position: relative;
	left: 24.5%;
	z-index: 5;
}


#odd:hover img{
	box-shadow: none;
	left: -3px;
	transition: all .3s ease-in;
	-webkit-transition: all .3s ease-in;
	-moz-transition: all .3s ease-in;
	-o-transition: all .3s ease-in;
}

#odd .info-news-proba{
	position: absolute;
	margin-left: 320px;
	background: rgb(200,200,200) url(../Images/peresvet-logo1.png) right bottom no-repeat;
}

#odd .info-news-proba:after{
	position: absolute;
	left: -9px;
	content: "";
	border-right: 10px solid rgba(146,146,146,1);
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	bottom: 90px;
}

#odd:hover .info-news-proba,
#odd:hover .info-news-proba:after{
	opacity: 1;
	visibility: visible;
}

#odd:hover .info-news-proba{
	left: 0%;
	margin-right: 10px;
}

#even,
#odd{
	position: relative;
}

#even img{
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-o-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	border: 2px solid white;
	box-shadow: 0 8px 14px rgba(50,50,50,.75);
	width: 300px;
	height: 200px;
	position: relative;
	left: 75.1%;
	margin-left: -300px;
	z-index: 5;
}

#even:hover img{
	box-shadow: none;
	left: 100%;
	margin-left: -300px;
	transition: all .3s ease-in;
	-webkit-transition: all .3s ease-in;
	-moz-transition: all .3s ease-in;
	-o-transition: all .3s ease-in;
}

#even .info-news-proba{
	margin-right: 320px;
	background: rgb(200,200,200) url(../Images/peresvet-logo1.png) left bottom no-repeat;	
}

#even .info-news-proba:before{
	right: -9px;
	content: "";
	border-left: 10px solid rgba(146,146,146,1);
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	bottom: 90px;
}

#even:hover .info-news-proba,
#even:hover .info-news-proba:before{
	opacity: 1;
	visibility: visible;
}

#even:hover .info-news-proba{
	margin-right: 320px;
}


/*------------------------history---------------------------------------------*/
.history{
	position: relative;
	margin-right: -17px;
	height: 1000px;
	overflow: auto;
	padding: 20px 10px;
	font: 18px Arial, sans-serif;
	text-align: justify;
}

.text{
	position: relative;
	width: 100%;
	text-align:center;
	font-family: 2em Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 5px;
	text-shadow: 3px 2px 2px rgba(255, 255, 255, 1);
	color: black;
}

.left, .right{
	position: absolute;
	width: 300px;
	margin: 50px 10px;
} 

.right{
	right: 5px;
	top: 0%;
}

.left img, .right img{
	width: 300px;
	height: 200px;
	border: 2px solid white;
	margin: 10px 0;
	box-shadow: 0 8px 14px rgba(50,50,50,.75);
	transition: all 0.3s ease-in;
	-moz-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    cursor: pointer;
}

.left img:nth-child(odd),
.right img:nth-child(even){
	transform: rotate(-10deg);
	-webkit-transform: rotate(-10deg);
    -moz-transform: rotate(-10deg); 
    -o-transform: rotate(-10deg); 
}

.left img:nth-child(even),
.right img:nth-child(odd){
	transform: rotate(10deg);
	-webkit-transform: rotate(10deg);
    -moz-transform: rotate(10deg); 
    -o-transform: rotate(10deg); 
}

.left img:hover,
.right img:hover{
	transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg); 
    -o-transform: rotate(0deg); 
}

/*-------------------контакт-------------------------------------------*/

.contact{
	position: relative;
	height: 750px;
	padding: 20px 10px;
	font: 18px Arial, sans-serif;
	text-align: justify;
}

.contact b{
	font: 18px Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 5px;
}

/*----------------------------------------news1-------------------------------*/

.news1{
	position: relative;
	margin: 0 100px;
	padding: 20px 10px;
	font: 18px Arial, sans-serif;
	text-align: justify;
	min-height: 500px;
}

.news1 img{
	border: 2px solid white;
	width: 300px;
	height: 200px;
	box-shadow: 0px 8px 14px rgba(50, 50, 50, 0.75);
	margin: 10px;
	float: left;
	transition: all 1s ease-out;
	-moz-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    -webkit-transition: all 1s ease-out;
}

.news1 img:hover{
	width:600px;
	height: 400px;
}

/*------------------------------------галерея---------------------------*/
.gallery{
	position: relative;
	margin: 0 100px;
	padding: 1px 10px;
	text-align: justify;
	height: 230px;
	border-bottom: 2px ridge white;
	background: url(../Images/peresvet-logo1.png) right bottom no-repeat;
}

.gallery h3{
	margin: 100px;
	font: 14px Arial, sans-serif;
	color: rgb(0,0,0);
	text-transform: uppercase;
	letter-spacing: 5px;
	text-shadow: 2px 1px 3px rgba(150, 150,150, 1);
}

.gallery img{
	border: 2px solid white;
	width: 300px;
	height: 200px;
	box-shadow: 0px 8px 14px rgba(50, 50, 50, 0.75);
	margin: 10px;
	float: left;
}
/*------------------------------ФУТЕР----------------------------------------*/

.footer{
	background: url(../Images/shattered.png);
	margin: 32px auto 0;
	height: 180px;
	padding: 0px 10px;
	position: relative;
	min-width: 1024px;
}

.footer ul{
	text-align: center;
}

.footer ul li{
	padding: 6px;
	list-style-type: none;
	display: inline-block;
	color: #504f50;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 3px;
}

#logo{
	background: url(../Images/logo-kv-and-gv.png) no-repeat;
	background-size: contain;
	width: 100px;
	height: 100px;
	position: absolute;
	top: 31px;
	left: 50%;
	margin-left: -56px;
	cursor: pointer;
}

#logo:hover{
	background: url(../Images/logo-kv-and-gv-hover.png) no-repeat;
	background-size: contain;
	-webkit-background-size: contain;
	width: 480px;
	height: 100px;
	position: absolute;
	top: 31px;
	left: 50%;
	margin-left: -246px;
}

#working{
	font: 14px Arial, sans-serif;
	position: relative;
	letter-spacing: 5px;
	margin: 0 20px;
}